﻿<UserControl
    x:Class="WinRTXamlToolkit.Sample.Views.ListViewItemExtensionsTestView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:WinRTXamlToolkit.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Extensions="using:WinRTXamlToolkit.Controls.Extensions"
    mc:Ignorable="d">

    <ListView
        x:Name="lv"
        SelectionMode="Multiple"
        HorizontalAlignment="Left"
        Width="500">
        <ListView.ItemTemplate>
            <DataTemplate>
                <TextBlock
                    Extensions:ListViewItemExtensions.IsSelected="{Binding IsSelected}"
                    Extensions:ListViewItemExtensions.IsEnabled="{Binding IsEnabled}"
                    Text="{Binding Text}"
                    Margin="15,5"
                    FontSize="36" />
            </DataTemplate>
        </ListView.ItemTemplate>
    </ListView>
</UserControl>
